package com.fxkj.cloud.drms.domain.linkage;

import com.fxkj.cloud.dbs.common.model.kv.TsKvEntry;

import java.util.List;
import java.util.UUID;

/**
 * <p>description: </p>
 * @author ww
 * @date 2025/3/31 14:26
 */
public interface LinkageProcessorService {

    /**
     * 处理设备的时序数据
     * @param deviceId
     * @param deviceKvs
     **/
    void process(UUID deviceId, List<TsKvEntry> deviceKvs);

    /**
     * 执行场景联动
     * @param sceneLinkageId
     * @param deviceKvs
     */
    void sceneLinkageExecute(UUID sceneLinkageId, List<TsKvEntry> deviceKvs);
}
